/**
 * 
 */
package com.ms.game.itembox.db;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.ms.game.itembox.CrystalChangeWay;
import com.xpec.c4.db.model.log.basic.BasicTransactionLogModel;

/**
 * 道具精煉的 log
 * 
 * @author TW15010
 */
@Entity
@Table(name = "player_crystal_change")
public class PlayerCrystalChangeLogModel extends BasicTransactionLogModel {
	private static final long serialVersionUID = 2672791127082655420L;

	/** account guid */
	private String accountId;

	/** player guid */
	private String playerId;

	/** player name */
	private String playerName;

	/** 做這件事情的 module id */
	private String moduleId;

	/** 異動的原因 id {@link CrystalChangeWay} */
	private int changeWay;

	/** 異動的原因說明 {@link CrystalChangeWay} */
	private String changeWayDesc;

	/** 水晶異動量 */
	private int changeCrystal;

	/** 水晶異動前數量 */
	private int beforeCrystal;

	/** 水晶異動後數量 */
	private int afterCrystal;

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getPlayerId() {
		return playerId;
	}

	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public int getChangeWay() {
		return changeWay;
	}

	public void setChangeWay(int changeWay) {
		this.changeWay = changeWay;
	}

	public String getChangeWayDesc() {
		return changeWayDesc;
	}

	public void setChangeWayDesc(String changeWayDesc) {
		this.changeWayDesc = changeWayDesc;
	}

	public int getChangeCrystal() {
		return changeCrystal;
	}

	public void setChangeCrystal(int changeCrystal) {
		this.changeCrystal = changeCrystal;
	}

	public int getBeforeCrystal() {
		return beforeCrystal;
	}

	public void setBeforeCrystal(int beforeCrystal) {
		this.beforeCrystal = beforeCrystal;
	}

	public int getAfterCrystal() {
		return afterCrystal;
	}

	public void setAfterCrystal(int afterCrystal) {
		this.afterCrystal = afterCrystal;
	}
}